package com.xhj.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Token implements Serializable {
    @ApiModelProperty(name = "roles",value = "用户角色")
    private String[] roles;
    @ApiModelProperty(name = "introduction",value = "用户介绍")
    private String introduction;
    @ApiModelProperty(name = "avatar",value = "用户头像")
    private String avatar;
    @ApiModelProperty(name = "name",value = "用户名字")
    private String name;
}
